package com.ruoyi.project.stop.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 传感器数据记录对象 sensor_record
 *
 * @author ruoyi
 * @date 2025-02-26
 */
public class SensorRecordVO extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 船舶id */
    @Excel(name = "船舶id")
    private Long shipId;

    /** 温度1 */
    @Excel(name = "温度1")
    private BigDecimal temperatureOne;

    /** 温度2 */
    @Excel(name = "温度2")
    private BigDecimal temperatureSecond;

    /** 温度3 */
    @Excel(name = "温度3")
    private BigDecimal temperatureThird;

    /** 温度4 */
    @Excel(name = "温度4")
    private BigDecimal temperatureFour;

    /** 压强1 */
    @Excel(name = "压强1")
    private BigDecimal pressureOne;

    /** 压强2 */
    @Excel(name = "压强2")
    private BigDecimal pressureSecond;

    /** 压强3 */
    @Excel(name = "压强3")
    private BigDecimal pressureThird;

    /** 压强4 */
    @Excel(name = "压强4")
    private BigDecimal pressureFour;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date beginTime;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;

    private Long yearMouth;

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setShipId(Long shipId)
    {
        this.shipId = shipId;
    }

    public Long getShipId()
    {
        return shipId;
    }

    public void setTemperatureOne(BigDecimal temperatureOne)
    {
        this.temperatureOne = temperatureOne;
    }

    public BigDecimal getTemperatureOne()
    {
        return temperatureOne;
    }

    public void setTemperatureSecond(BigDecimal temperatureSecond)
    {
        this.temperatureSecond = temperatureSecond;
    }

    public BigDecimal getTemperatureSecond()
    {
        return temperatureSecond;
    }

    public void setTemperatureThird(BigDecimal temperatureThird)
    {
        this.temperatureThird = temperatureThird;
    }

    public BigDecimal getTemperatureThird()
    {
        return temperatureThird;
    }

    public void setTemperatureFour(BigDecimal temperatureFour)
    {
        this.temperatureFour = temperatureFour;
    }

    public BigDecimal getTemperatureFour()
    {
        return temperatureFour;
    }

    public void setPressureOne(BigDecimal pressureOne)
    {
        this.pressureOne = pressureOne;
    }

    public BigDecimal getPressureOne()
    {
        return pressureOne;
    }

    public void setPressureSecond(BigDecimal pressureSecond)
    {
        this.pressureSecond = pressureSecond;
    }

    public BigDecimal getPressureSecond()
    {
        return pressureSecond;
    }

    public void setPressureThird(BigDecimal pressureThird)
    {
        this.pressureThird = pressureThird;
    }

    public BigDecimal getPressureThird()
    {
        return pressureThird;
    }

    public void setPressureFour(BigDecimal pressureFour)
    {
        this.pressureFour = pressureFour;
    }

    public BigDecimal getPressureFour()
    {
        return pressureFour;
    }

    public Long getYearMouth() {
        return yearMouth;
    }

    public void setYearMouth(Long yearMouth) {
        this.yearMouth = yearMouth;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("shipId", getShipId())
            .append("temperatureOne", getTemperatureOne())
            .append("temperatureSecond", getTemperatureSecond())
            .append("temperatureThird", getTemperatureThird())
            .append("temperatureFour", getTemperatureFour())
            .append("pressureOne", getPressureOne())
            .append("pressureSecond", getPressureSecond())
            .append("pressureThird", getPressureThird())
            .append("pressureFour", getPressureFour())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
